package com.intellagric.mapper;

import com.intellagric.pojo.AgtResource;
import com.intellagric.pojo.AgtResourceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtResourceMapper {
    long countByExample(AgtResourceExample example);

    int deleteByExample(AgtResourceExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtResource record);

    int insertSelective(AgtResource record);

    List<AgtResource> selectByExample(AgtResourceExample example);

    AgtResource selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtResource record, @Param("example") AgtResourceExample example);

    int updateByExample(@Param("record") AgtResource record, @Param("example") AgtResourceExample example);

    int updateByPrimaryKeySelective(AgtResource record);

    int updateByPrimaryKey(AgtResource record);
}